package org.jeecg.modules.rental.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class ShareEBikeResp {

    /**
     * 电单车id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ebikeId;

    /**
     * 电单车电量百分比
     */
    private Float ebikePower = 0.00f;

    /**
     * 电单车车辆
     */
    private String ebikePlate;

    /**
     * 电单车自编号
     */
    private String ebikeCustomCode;

    /**
     * 车辆终端编号
     */
    private String ebikeCode;

    /**
     * 车辆经纬度
     */
    private Double latitude;

    private Double longitude;


    /**
     * 电单车在线状态
     */
    private String onlineStatus;

    /**
     * 占用电单车账户
     */
    private String ctrlAccount;

    /**
     * 电单车占用状态
     */
    private Boolean ctrlStatus = Boolean.FALSE;

    /**
     * 电单车是否是我占用
     */
    private Boolean isCtrl = Boolean.FALSE;
}
